<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,intial-scale=1,user-scalable=no">
  <title>我的报告</title>
</head>
<style>
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body,
  html {
    width: 100vw;
  }

  body {
    min-height: 100vh;
    background: url('https://qny.bravo.love/temp/20220929122326.png') no-repeat;
    background-size: cover;
    padding: 12px 15px;
  }

  .userinfo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
  }

  .userinfo img {
    width: 60px;
    height: 60px;
    margin-right: 30px;
    border-radius: 50%;
  }


  .base-card {
    border-radius: 25px;
    background: #f5f6fa;
  }

  .report-page__header {
    padding-top: 55px;
    padding-bottom: 35px;
    background: url('https://qny.bravo.love/temp/20220929122320.png') no-repeat;
    background-size: cover;
    margin-bottom: 25px;
  }

  .report-page__header__score {
    margin: 0 auto;
    width: 127px;
    height: 93px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://qny.bravo.love/temp/20220929122311.png') no-repeat;
    background-size: 100%;
    font-size: 27px;
  }

  .report-page__header__control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
  }

  .report-page__header__control .icon {
    width: 15px;
  }

  .report-page__header__control.date {
    text-align: center;
    margin: 0px 60px;
    font-size: 32px;
  }

  .report-page__header__control.dt {
    color: #667488;
    margin-bottom: 15px;
    font-size: 26px;
  }


  .report-page__footer {
    padding: 0 32px;
    padding-bottom: 20px;
  }

  .report-page__footer__item {
    display: flex;
    align-items: center;
    position: relative;
  }

  .report-page__footer .icon {
    width: 40px;
    margin-right: 32px;
  }

  .report-page__footer .desc {
    padding: 30px 0;
    flex: 1;
    border-bottom: 1px solid #eeeeee;
  }

  .report-page__footer .desc>div:first-child {
    margin-bottom: 8px;
  }

  .report-page__footer .desc>div:last-child {
    color: #c3c7d1;
  }

  .day {
    position: absolute;
    right: 0px;
  }

  .logo {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 32px;
  }

  .logo img {
    width: 55px;
    height: 55px;
    margin-right: 18px;
  }
</style>

<body>
  <div class="userinfo">
    <img th:src="${avatar}" />
    <span th:text="${nickname}" ></span>
  </div>

  <div class="base-card">
    <div class="report-page__header">
      <div class="report-page__header__score"><span th:text="${score}"></span></div>
      <div class="report-page__header__control">
        <div class="date">
          <div class="dt">上周level</div>
          <div class="dd" th:text="${betweenDay}"></div>
        </div>
      </div>
    </div>
    <div class="report-page__footer">
      <div class="report-page__footer__item">
        <img src="../ic_report_clock.png" class="icon"></img>
        <div class="desc">
          <div>打卡天数</div>
          <div>Clock in days</div>
        </div>
        <div class="day" th:text="${checkinCount}"></div>
      </div>
      <div class="report-page__footer__item">
        <img src="../ic_report_insist.png" class="icon"></img>
        <div class="desc">
          <div>坚持天数</div>
          <div>Adherence days</div>
        </div>
        <div class="day" th:text="${goonCount}"></div>
      </div>
      <div class="report-page__footer__item">
        <img src="../ic_report_transcend.png" class="icon"></img>
        <div class="desc">
          <div>超越人数</div>
          <div>Exceeding days</div>
        </div>
        <div class="day" th:text="${exceedCount}"></div>
      </div>
    </div>
  </div>
  <div class="logo">
    <img src="../ic_report_logo.png" mode="widthFix"></img>
    <span>BD2H·乳腺康复</span>
  </div>

</body>

</html>